package o;

import android.content.Context;
import android.net.Uri;
import androidx.annotation.NonNull;
import java.io.InputStream;
import o.vk.c;

public class vy implements vk<Uri, InputStream> {
    private final Context ॱ;

    public static class e implements vr<Uri, InputStream> {
        private final Context ॱ;

        public e(Context context) {
            this.ॱ = context;
        }

        @NonNull
        public vk<Uri, InputStream> ˏ(vo voVar) {
            return new vy(this.ॱ);
        }

        public void ॱ() {
        }
    }

    public /* synthetic */ boolean ˋ(@NonNull Object obj) {
        return ॱ((Uri) obj);
    }

    public /* synthetic */ c ˎ(@NonNull Object obj, int i, int i2, @NonNull sc scVar) {
        return ॱ((Uri) obj, i, i2, scVar);
    }

    public vy(Context context) {
        this.ॱ = context.getApplicationContext();
    }

    public c<InputStream> ॱ(@NonNull Uri uri, int i, int i2, @NonNull sc scVar) {
        if (sx.ˊ(i, i2)) {
            return new c(new aai(uri), sv.ˏ(this.ॱ, uri));
        }
        return null;
    }

    public boolean ॱ(@NonNull Uri uri) {
        return sx.ˋ(uri);
    }
}
